/*
 * Message Hello : envoyé lors de la connexion
 * @extends Message
 */
package common;

import java.net.InetAddress;

/**
 * Constructeur
 * Hello(String, InetAddress, Boolean)
 * @param username , adresse IP locale
 */
public class Hello extends Message{
    private String username;
    private Boolean reply;
    
    public Hello(String user, InetAddress addr, Boolean boo){
        this.username = user;
        this.addr = addr;
        this.reply = boo;
    }
    
   
    
    public String getUsername(){
        return this.username;
        
    }

    public Boolean getReply() {
        return reply;
    }
    
    
}
